<template>
  <div class="student-manage">
    <h2>学生管理</h2>
    <nav class="sub-nav">
      <router-link to="/student/add">添加学生</router-link> |
      <router-link to="/student/list">学生列表</router-link>
    </nav>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'StudentManage'
}
</script>

<style scoped>
/* .sub-nav {
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.sub-nav a {
  margin: 0 10px;
  color: #2c3e50;
  text-decoration: none;
}
.sub-nav a.router-link-active {
  color: #42b983;
} */
</style> 